package com.hucheng.order.mapper;

import com.hucheng.order.entity.BalanceGoodsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-17
 * @Description: 购物车持久层
 **/
@Mapper
public interface CartMapper {
    List<BalanceGoodsDO> listByGoods(@Param("userId") Integer userId, @Param("cartIds") List<String> cartIds);

    void deleteBatch(@Param("cartIds") List<String> cartIds,@Param("userId") Integer userId);
}
